
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h3><%=request.getServletContext().getServerInfo()%></h3>
<h3>请求方法：<%=request.getMethod()%></h3>
<%

    request.setCharacterEncoding("utf-8");//处理post请求中文乱码
    out.print(request.getParameter("name"));
%>
</body>
</html>
